<template>
	<view class="container">
		<view class="bill">
			<view class="kpmsg">
				开票信息
				<text>（不填写默认开个人发票）</text>
			</view>
			<view class="xian"></view>
			<view class="list">
				<view class="item">
					<view class="label_txt">公司姓名</view>
					<input class="gsxm" type="text" v-model="list.companyName" placeholder="请输入公司名称">
				</view>
				<view class="item">
					<view class="label_txt letsps">税号</view>
					<input type="text" v-model="list.shuihao" placeholder="请输入税号">
				</view>
				<view class="item">
					<view class="label_txt khh">开户行</view>
					<input class="yhkh" type="text" v-model="list.bank" placeholder="请输入开户行">
				</view>
				<view class="item">
					<view class="label_txt letsps">账号</view>
					<input type="text" v-model="list.bankCard" placeholder="请输入银行账号">
				</view>
				<view class="item">
					<view class="gsname letsps">地址</view>
					<input type="text" v-model="list.address" placeholder="请输入地址">
				</view>
				<view class="item">
					<view class="label_txt letsps">电话</view>
					<input type="text" v-model="list.phone" placeholder="请输入电话">
				</view>
			</view>
		</view>

		<view class="moren">
			<view class="image-a">
				<image src="/static/image/shop/11.png" mode=""></image>
			</view>
			<view class="mr_txt">
				设为默认
			</view>
		</view>
		
		<button class="btn">立即保存</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list: {
					companyName: '',
					shuihao: '',
					bank: '',
					bankCard: '',
					address: '',
					phone: ''
				}
			}
		},
		methods: {

		}
	}
</script>

<style scoped lang="scss">
	.container {
		height: 100vh;
		width: 100%;
		background-color: #f5f5f5;
		display: flex;
		align-items: center;
		flex-direction: column;

		.bill {
			display: flex;
			flex-direction: column;
			justify-content: center;
			align-items: center;
			margin-top: 20rpx;
			width: 674rpx;
			height: 358rpx;
			background-color: #ffffff;
			font-size: 26rpx;
			border-radius: 25rpx;

			.kpmsg {
				width: 608rpx;
				font-weight: 500;
				font-size: 30rpx;
				color: #333333;

				text {
					font-weight: 400;
					font-size: 26rpx;
					color: #808080;
					margin-left: 19rpx;
				}
			}

			.xian {
				position: relative;
				width: 608rpx;
				height: 1rpx;
				background-color: #eeeeee;
				margin-top: 10rpx;
				margin-bottom: 10rpx;
			}

			.xian:before {
				content: "";
				position: absolute;
				top: -0.5rpx;
				left: 0;
				width: 100%;
				height: 1rpx;
				background-color: #eeeeee;
				transform: scaleY(0.5);
			}

			.list {
				width: 608rpx;

				.item {
					display: flex;
					flex-direction: row;
					line-height: 43rpx;

					.label_txt {
						font-weight: 400;
						font-size: 26rpx;
						color: #333333;
					}

					.letsps {
						letter-spacing: 50rpx;
					}

					.khh {
						letter-spacing: 13rpx;
					}

					input {
						font-weight: 400;
						font-size: 26rpx;
						color: #808080;
					}

					.gsxm {
						margin-left: 50rpx;
					}

					.yhkh {
						margin-left: 42rpx;
					}
				}
			}

		}
		
		.moren{
			display: flex;
			flex-direction: row;
			align-items: center;
			width: 674rpx;
			height: 102rpx;
			background-color: #ffffff;
			border-radius: 25rpx;
			margin-top:11rpx ;
			
			.image-a{
				width: 29rpx;
				height: 29rpx;
				margin-left: 40rpx;
				image{
					width: 29rpx;
					height: 29rpx;
				}
			}
			
			.mr_txt{
				font-weight: 400;
				font-size: 26rpx;
				color: #333333;
				line-height: 40rpx;
			}
		}
		
		.btn{
			width: 670rpx;
			height: 90rpx;
			line-height: 90rpx;
			background: linear-gradient(to right top, rgba(38, 187, 168, 1.0), rgba(0, 130, 139, 1.0));
			font-weight: 400;
			font-size: 33rpx;
			color: #FFFFFF;
			margin-top: 84rpx;
			box-shadow: 6rpx 6rpx 6rpx #c5c5c5;
			border-radius: 20rpx;
		}
	}
</style>